package com.whmall.service.crm.module.companycertificatechemical.impl.dao;

import com.whmall.service.crm.module.companycertificatechemical.CompanyCertificateChemicalApproveQueryCriteria;
import com.whmall.service.crm.module.companycertificatechemical.entity.CompanyCertificateChemicalApproveDO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * CompanyCertificateChemicalApproveMapper
 *
 * @author alex
 * @since 2020/12/18
 */
@Mapper
public interface CompanyCertificateChemicalApproveMapper {
    int deleteById(Long id);

    int insert(CompanyCertificateChemicalApproveDO record);

    int insertSelective(CompanyCertificateChemicalApproveDO record);

    int updateByIdSelective(CompanyCertificateChemicalApproveDO record);

    int updateById(CompanyCertificateChemicalApproveDO record);

    CompanyCertificateChemicalApproveDO selectById(Long id);

    int deleteAll();

    List<CompanyCertificateChemicalApproveDO> listByQueryCriteria(CompanyCertificateChemicalApproveQueryCriteria criteria);
}